/*
 * DrawedObject.java
 *
 * Created on 9 maj 2007, 18:58
 *
 */

package pl.krakow.ae.knp.wikiboard.gui.drawables;

import java.awt.Color;

/**
 * DrawedObject...
 */
public abstract class DrawedObject implements Drawable {
    
    protected Color color;
    protected transient boolean isSelected;
    
    /** Creates a new instance of DrawedObject */
    public DrawedObject() {
        isSelected = false; 
    }
    
    public abstract DrawedObject clone();
    
    public void select() {
        isSelected = true; 
    }
    
    public void unselect() {
        isSelected = false; 
    }
}
